package com.ngocvo.QuanLyThuChi;

public class Work {
	private long _id;
	private String _Amount;
	private String _Name;
	private int _FlowType;
	private short _Status; /* 0:chưa trả; 1:đã trả*/
	private String _CreateDate;
	private String _ModifiedDate;
	private String _FlowDate;
	private String _FlowBackDate;
    
	public Work(){
	}
	
	public Work(String Name, String Amount){
		this._Name = Name;
		this._Amount = Amount;
	}
	
	public Work(long id, String Amount, String Name, int flowType, short Status, 
			String CreateDate, String ModifiedDate, String FlowDate){
		_id = id;
		_Amount = Amount;
		_Name = Name;
		_FlowType = flowType;
		_Status = Status;
		_CreateDate = CreateDate;
		_ModifiedDate = ModifiedDate;
		_FlowDate = FlowDate;
	}
	
	public Work(long id, String Amount, String Name, int flowType, short Status, 
					String CreateDate, String ModifiedDate, String FlowDate, String FlowBackDate){
		_id = id;
		_Amount = Amount;
		_Name = Name;
		_FlowType = flowType;
		_Status = Status;
		_CreateDate = CreateDate;
		_ModifiedDate = ModifiedDate;
		_FlowDate = FlowDate;
		_FlowBackDate = FlowBackDate;
	}
	
	public void setId(long id){
		_id = id;
	}
	
	public void setName(String Name){
		_Name = Name;
	}
	
	public void setAmount(String Amount){
		_Amount = Amount;
	}
	
	public void setFlowType(int type){
		_FlowType = type;
	}
	
	public void setStatus(short status){
		_Status = status;
	}
	
	public void setCreateDate(String CreateDate){
		_CreateDate = CreateDate;
	}
	
	public void setModifiedDate(String ModifiedDate){
		_ModifiedDate = ModifiedDate;
	}
	
	public void setFlowDate(String FlowDate){
		_FlowDate = FlowDate;
	}
	
	public void setFlowBackDate(String FlowBackDate){
		_FlowBackDate = FlowBackDate;
	}
	
	public long getId(){
		return _id;
	}
	
	public String getName(){
		return _Name;
	}
	
	public String getAmount(){
		return _Amount;
	}
	
	public String getCreateDate(){
		return _CreateDate;
	}
	
	public String getModifiedDate(){
		return _ModifiedDate;
	}
	
	public int getFlowType(){
		return _FlowType;
	}
	
	public short getStatus(){
		return _Status;
	}
	
	public String getFlowDate(){
		return _FlowDate;
	}

	public String getFlowBackDate(){
		return _FlowBackDate;
	}
}